<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        div{
            width: 700px;
            margin: 0 auto;
        }
    </style>
</head>
<body>

<h1 align="center">热点资讯网</h1>
<div>
    <table border="0">
        <tr style="background: darkgray">
            <th>序号</th>
            <th>标题</th>
            <th>回复/查看</th>
            <th>发表时间</th>
            <th>最后修改</th>
        </tr>
        <#list informations as info>
        <tr <#if info_index%2!=0>style="background: #64f164" </#if>  >
            <td>${info.id}</td>
            <td><a href="/news/${info.id}">${info.title}</a></td>
            <td>${info.replycount}/${info.viewcount}</td>
            <td>${info.reporttime?string("yyyy-MM-dd HH:mm:ss")}</td>
            <td>${info.lastmdftime?string("yyyy-MM-dd HH:mm:ss")}</td>
        </tr>
        </#list>
    </table>
</div>
</body>
</html>